Remove reindex special case from the progress bar label#697
Hidden character warning
Remove reindex special case from the progress bar label#697maflcko merged 1 commit intobitcoin-core:masterfrom maflcko:2301-gui-reindex-👖
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
|
So the only user-visible change should be changing the word "Reindex" to "Index" |
|
Concept ACK. As this PR touches code outside the |
|
It is only changing an interface that the gui uses, so I think it should be fine |
|
cc @ryanofsky |
LarryRuane
left a comment
There was a problem hiding this comment.
code-review, tested ACK fa20044
I ran src/qt/bitcoin-qt -noconnect -signet -reindex with and without the PR, and the status message (lower-left corner) for stage 1 was as expected. I didn't try reindex-chainstate, loadblock, or reindex stage 2.
| if (m_node.isLoadingBlocks()) return BlockSource::DISK; | ||
| if (getNumConnections() > 0) return BlockSource::NETWORK; |
There was a problem hiding this comment.
I like this, somehow else following return (or break, continue) doesn't seem right.
john-moffett
left a comment
There was a problem hiding this comment.
|
Thanks, removed and rebased. Should be trivial to re-ACK with git range-diff |
|
Re-ACK faff2ba |
|
post-merge re-ACK |





The user knows which option they passed to the program, so it seems overly verbose to offer the user feedback whether or not they passed
-reindex. Treat it asDISK, like all other cases that are treated asDISK:-reindex-chainstate-loadblock